<%@ page language="java" import="org.slf4j.Logger,org.slf4j.LoggerFactory"
	pageEncoding="UTF-8" isErrorPage="true"%>
<%@ include file="../common/taglib.jsp"%>
<%
	Throwable ex = null;
	if (exception != null) ex = exception;
	if (request.getAttribute("javax.servlet.error.exception") != null)
		ex = (Exception) request.getAttribute("javax.servlet.error.exception");
	// 记录日志
	Logger logger = LoggerFactory.getLogger("500.jsp");
	logger.error(ex.getMessage(), ex);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>MyTitle</title>
		<%@ include file="../common/meta.jsp"%>
	</head>
	<body>
		<div class="error" style="margin:5px;">
			系统发生内部错误.
			<br /><%=ex.getMessage()%><br />
		</div>
		<div class="commonButton">
			<input type="button" onclick="history.back();" value="返回" />
		</div>
	</body>
</html>
